package com.fhzn.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 老顾
 * @apiNote 用户角色实体类
 * @since 2023/12/22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("abstract_auth_user_role")
public class UserRole extends BaseEntity {

    @TableId
    private Integer id;

    private Integer userId;

    private Integer roleId;
}
